<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../org/angular.min.js"></script>
</head>
<body ng-app="hd">
<div ng-controller="ctrl">


</div>
<script>
    var m = angular.module('hd', []);
    m.controller('ctrl', ['$scope', function ($scope) {
        /*查看版本号*/
        console.log(angular.version);
        /*转换字符大小写*/
        console.log(angular.lowercase('AAABBBccddDD'));
        console.log(angular.uppercase('adddfdfADFA'));
        /*深拷贝*/
        var obj = {name: '后盾网'};
        var obj2 = {};
        angular.copy(obj, obj2);
        obj2.name = '后盾人';
        console.log(obj2.name);
    }]);

</script>
</body>
</html>